
#110906 slacko (slackware 13.37) xz has liblzma* in /lib/ ...

if [ ! -e usr/lib/liblzma.so.0 -a ! -e lib/liblzma.so.0 ];then
 LZMALIB="`find lib usr/lib -type f -name 'liblzma.so*' 2> /dev/null | tail -n 1`"
 if [ "$LZMALIB" ];then
   BASELIB="`basename $LZMALIB`"
   BASEDIR="`dirname $LZMALIB`"
   ln -s $BASELIB $BASEDIR/liblzma.so.0
 fi
fi

